Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Glassfish Interview Questions and Answers

Question: How to Start and Stop the Default Domain?
Answer:
When you install GlassFish Server, a default domain nameddomain1 is created. The following
procedures describe how to start and stopdomain1when it is the only domain.

To Start the Default Domain
GlassFish Server software must be installed before you start the domain.
Run the asadmin start-domain command without an operand:
as-install/bin/asadmin start-domain
The command starts the default domain, domain1.
for starting any domain (e.g domain name: employee): as-install/bin/asadmin start-domain employee

To Stop the Default Domain
Run the asadmin stop-domain command without an operand:
as-install/bin/asadmin stop-domain
The command stops the default domain, domain1.
for stopping any domain (e.g domain name: employee): as-install/bin/asadmin stop-domain employee
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook